package com.zone.gateway.core.executor;

import com.zone.gateway.core.executor.result.SessionResult;
import com.zone.gateway.core.mapping.HttpStatement;

import java.util.Map;

/**
 * @author: zongzi
 * @description: 执行器
 * @date: 2025/4/22
 */
public interface Executor {


    /**
     * 执行请求
     *
     * @param httpStatement http描述语句
     * @param args          参数值
     * @return
     */
    SessionResult execute(HttpStatement httpStatement, Map<String, Object> args);
}
